package com.hfuuwzy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hfuuwzy.controller.dto.UserDTO;
import com.hfuuwzy.controller.dto.UserPasswordDTO;
import com.hfuuwzy.entity.Course;
import com.hfuuwzy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzy
 * @since 2023-03-25 00:00:00
 */
public interface UserService extends IService<User> {

    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    void updatePassword(UserPasswordDTO userPasswordDTO);

    Page<User> findPage(Page<User> userPage, String username, String email, String address);

    List lookStuCourse();
}
